package cn.sciento.wechat.enterprise.dto;

import java.util.List;

public class WechatSyncUserDTO {
  private String userid;
  
  private String name;
  
  private String alias;
  
  private String mobile;
  
  private String position;
  
  private int gender;
  
  private String email;
  
  private int enable;
  
  private String avatar_mediaid;
  
  private String telephone;
  
  private String address;
  
  private ExtattrBean extattr;
  
  private boolean to_invite;
  
  private String external_position;
  
  private ExternalProfileBean external_profile;
  
  private List<Long> department;
  
  private List<Integer> order;
  
  private List<Integer> is_leader_in_dept;
  
  private String syncType;
  
  private List<Boolean> isDepartIdsMap;
  
  public String getUserid() {
    return this.userid;
  }
  
  public WechatSyncUserDTO setUserid(String userid) {
    this.userid = userid;
    return this;
  }
  
  public String getName() {
    return this.name;
  }
  
  public WechatSyncUserDTO setName(String name) {
    this.name = name;
    return this;
  }
  
  public String getAlias() {
    return this.alias;
  }
  
  public WechatSyncUserDTO setAlias(String alias) {
    this.alias = alias;
    return this;
  }
  
  public String getMobile() {
    return this.mobile;
  }
  
  public WechatSyncUserDTO setMobile(String mobile) {
    this.mobile = mobile;
    return this;
  }
  
  public String getPosition() {
    return this.position;
  }
  
  public WechatSyncUserDTO setPosition(String position) {
    this.position = position;
    return this;
  }
  
  public int getGender() {
    return this.gender;
  }
  
  public WechatSyncUserDTO setGender(int gender) {
    this.gender = gender;
    return this;
  }
  
  public String getEmail() {
    return this.email;
  }
  
  public WechatSyncUserDTO setEmail(String email) {
    this.email = email;
    return this;
  }
  
  public int getEnable() {
    return this.enable;
  }
  
  public WechatSyncUserDTO setEnable(int enable) {
    this.enable = enable;
    return this;
  }
  
  public String getAvatar_mediaid() {
    return this.avatar_mediaid;
  }
  
  public WechatSyncUserDTO setAvatar_mediaid(String avatar_mediaid) {
    this.avatar_mediaid = avatar_mediaid;
    return this;
  }
  
  public String getTelephone() {
    return this.telephone;
  }
  
  public WechatSyncUserDTO setTelephone(String telephone) {
    this.telephone = telephone;
    return this;
  }
  
  public String getAddress() {
    return this.address;
  }
  
  public WechatSyncUserDTO setAddress(String address) {
    this.address = address;
    return this;
  }
  
  public ExtattrBean getExtattr() {
    return this.extattr;
  }
  
  public WechatSyncUserDTO setExtattr(ExtattrBean extattr) {
    this.extattr = extattr;
    return this;
  }
  
  public boolean isTo_invite() {
    return this.to_invite;
  }
  
  public WechatSyncUserDTO setTo_invite(boolean to_invite) {
    this.to_invite = to_invite;
    return this;
  }
  
  public String getExternal_position() {
    return this.external_position;
  }
  
  public WechatSyncUserDTO setExternal_position(String external_position) {
    this.external_position = external_position;
    return this;
  }
  
  public ExternalProfileBean getExternal_profile() {
    return this.external_profile;
  }
  
  public WechatSyncUserDTO setExternal_profile(ExternalProfileBean external_profile) {
    this.external_profile = external_profile;
    return this;
  }
  
  public List<Long> getDepartment() {
    return this.department;
  }
  
  public WechatSyncUserDTO setDepartment(List<Long> department) {
    this.department = department;
    return this;
  }
  
  public List<Integer> getOrder() {
    return this.order;
  }
  
  public WechatSyncUserDTO setOrder(List<Integer> order) {
    this.order = order;
    return this;
  }
  
  public List<Integer> getIs_leader_in_dept() {
    return this.is_leader_in_dept;
  }
  
  public WechatSyncUserDTO setIs_leader_in_dept(List<Integer> is_leader_in_dept) {
    this.is_leader_in_dept = is_leader_in_dept;
    return this;
  }
  
  public List<Boolean> getIsDepartIdsMap() {
    return this.isDepartIdsMap;
  }
  
  public WechatSyncUserDTO setIsDepartIdsMap(List<Boolean> isDepartIdsMap) {
    this.isDepartIdsMap = isDepartIdsMap;
    return this;
  }
  
  public String getSyncType() {
    return this.syncType;
  }
  
  public WechatSyncUserDTO setSyncType(String syncType) {
    this.syncType = syncType;
    return this;
  }
  
  public static class ExtattrBean {
    private List<AttrsBean> attrs;
    
    public List<AttrsBean> getAttrs() {
      return this.attrs;
    }
    
    public void setAttrs(List<AttrsBean> attrs) {
      this.attrs = attrs;
    }
    
    public static class AttrsBean {
      private int type;
      
      private String name;
      
      private TextBean text;
      
      private WebBean web;
      
      public int getType() {
        return this.type;
      }
      
      public void setType(int type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public TextBean getText() {
        return this.text;
      }
      
      public void setText(TextBean text) {
        this.text = text;
      }
      
      public WebBean getWeb() {
        return this.web;
      }
      
      public void setWeb(WebBean web) {
        this.web = web;
      }
      
      public static class TextBean {
        private String value;
        
        public String getValue() {
          return this.value;
        }
        
        public void setValue(String value) {
          this.value = value;
        }
      }
      
      public static class WebBean {
        private String url;
        
        private String title;
        
        public String getUrl() {
          return this.url;
        }
        
        public void setUrl(String url) {
          this.url = url;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
    }
  }
  
  public static class ExternalProfileBean {
    private String external_corp_name;
    
    private List<ExternalAttrBean> external_attr;
    
    public String getExternal_corp_name() {
      return this.external_corp_name;
    }
    
    public void setExternal_corp_name(String external_corp_name) {
      this.external_corp_name = external_corp_name;
    }
    
    public List<ExternalAttrBean> getExternal_attr() {
      return this.external_attr;
    }
    
    public void setExternal_attr(List<ExternalAttrBean> external_attr) {
      this.external_attr = external_attr;
    }
    
    public static class ExternalAttrBean {
      private int type;
      
      private String name;
      
      private TextBeanX text;
      
      private WebBeanX web;
      
      private MiniprogramBean miniprogram;
      
      public int getType() {
        return this.type;
      }
      
      public void setType(int type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public TextBeanX getText() {
        return this.text;
      }
      
      public void setText(TextBeanX text) {
        this.text = text;
      }
      
      public WebBeanX getWeb() {
        return this.web;
      }
      
      public void setWeb(WebBeanX web) {
        this.web = web;
      }
      
      public MiniprogramBean getMiniprogram() {
        return this.miniprogram;
      }
      
      public void setMiniprogram(MiniprogramBean miniprogram) {
        this.miniprogram = miniprogram;
      }
      
      public static class TextBeanX {
        private String value;
        
        public String getValue() {
          return this.value;
        }
        
        public void setValue(String value) {
          this.value = value;
        }
      }
      
      public static class WebBeanX {
        private String url;
        
        private String title;
        
        public String getUrl() {
          return this.url;
        }
        
        public void setUrl(String url) {
          this.url = url;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
      
      public static class MiniprogramBean {
        private String appid;
        
        private String pagepath;
        
        private String title;
        
        public String getAppid() {
          return this.appid;
        }
        
        public void setAppid(String appid) {
          this.appid = appid;
        }
        
        public String getPagepath() {
          return this.pagepath;
        }
        
        public void setPagepath(String pagepath) {
          this.pagepath = pagepath;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
    }
  }
  
  public String toString() {
    return "WechatSyncUserDTO{userid='" + this.userid + '\'' + ", name='" + this.name + '\'' + ", alias='" + this.alias + '\'' + ", mobile='" + this.mobile + '\'' + ", position='" + this.position + '\'' + ", gender=" + this.gender + ", email='" + this.email + '\'' + ", enable=" + this.enable + ", avatar_mediaid='" + this.avatar_mediaid + '\'' + ", telephone='" + this.telephone + '\'' + ", address='" + this.address + '\'' + ", extattr=" + this.extattr + ", to_invite=" + this.to_invite + ", external_position='" + this.external_position + '\'' + ", external_profile=" + this.external_profile + ", department=" + this.department + ", order=" + this.order + ", is_leader_in_dept=" + this.is_leader_in_dept + ", syncType='" + this.syncType + '\'' + ", isDepartIdsMap=" + this.isDepartIdsMap + '}';
  }
}
